﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YJTShiftManagement.Models
{
    public class User
    {
        public int id { get; set; }
        /// <summary>
        /// 线下药房的tenant_id 
        /// </summary>
        public string tenant_id { get; set; }
        /// <summary>
        /// 诊所tenant_id 比如功夫中医
        /// </summary>
        public string z_tenant_id { get; set; }
        public string username { get; set; }
        public string password { get; set; }
        public string wechat_doctor_openid { get; set; }
        public string wechat_nickname { get; set; }
        public string wechat_sex { get; set; }
        public string remark { get; set; }
        public string name { get; set; }
        public string tel { get; set; }
        public string id_card { get; set; }
        public string qq { get; set; }
        public string weixin { get; set; }
        public string email { get; set; }
        public string create_time { get; set; }
        public string is_delete { get; set; }
        public string role_id { get; set; }
        public string is_doctor { get; set; }
        public string head_img { get; set; }
        public string cert_images { get; set; }
        public string invite_code { get; set; }
        public string invite_code_qrcode { get; set; }
        public string status { get; set; }
        public string type { get; set; }
        public string tenant_name { get; set; }
        public string doctor_id { get; set; }
        public string med_type { get; set; }
        public string ret_level { get; set; }
        /// <summary>
        /// 服务到期日
        /// </summary>
        public string end_time { get; set; }
        /// <summary>
        /// 是否自动模式 1自动模式 0手动模式
        /// </summary>
        public string is_auto { get; set; }
        /// <summary>
        /// 自动模式延迟秒数
        /// </summary>
        public string auto_time { get; set; }
        /// <summary>
        /// 处方姓名是否加密
        /// </summary>
        public string pres_patient_name_status { get; set; }

        /// <summary>
        /// 是否是视频用户
        /// </summary>
        public string cp_type { get; set; }
        /// <summary>
        /// 结束视频后返回ID
        /// </summary>
        public string operator_id { get; set; }

        /// <summary>
        /// 省ID
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [DefaultValue("")]
        public string province_id { get; set; }
        /// <summary>
        /// 城市ID
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [DefaultValue("")]
        public string city_id { get; set; }
        /// <summary>
        /// 区ID
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [DefaultValue("")]
        public string area_id { get; set; }
        /// <summary>
        /// 省
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [DefaultValue("")]
        public string province { get; set; }
        /// <summary>
        /// 市
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [DefaultValue("")]
        public string city { get; set; }
        /// <summary>
        /// 区
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [DefaultValue("")]
        public string area { get; set; }
        /// <summary>
        /// 是否快速签方(状态 ) 1 0
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [DefaultValue("0")]
        public string is_quick { get; set; }
        /// <summary>
        /// 是否显示隐藏快速签发1 0
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [DefaultValue("0")]
        public string is_config { get; set; }
        /// <summary>
        /// 默认详细地址
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [DefaultValue("")]
        public string detail_address { get; set; }

        /// <summary>
        /// 身份证是否必填1是 0否
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [DefaultValue("")]
        public string idcard_is_must { get; set; }
        /// <summary>
        /// 药房审方模式 1 总部审方 2门店审方
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [DefaultValue("")]
        public string tenant_auditor_type { get; set; }
        /// <summary>
        /// 审方药师 1：互联网医院药师 2：驻店药师
        /// </summary>
        [JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
        [DefaultValue("")]
        public string prescriptions_type { set; get; }

        /// <summary>
        /// 患者地址是否必填 值定义：0：不强制地址   1：患者地址必填
        /// </summary>
        /// <remarks>
        /// 20211115 add zhangfan
        /// </remarks>
        public string is_display_address { get; set; }

        /// <summary>
        /// 是否自动打印 
        /// </summary>
        public string auto_print { get; set; }

        /// <summary>
        /// 打印文件格式 pdf picture
        /// </summary>
        public string download_format { get; set; }

        /// <summary>
        /// 是否dtp
        /// </summary>
        public string is_dtp { get; set; }

        public string brand_id { get; set; }
    }
}
